package com.yuanfengPlus.TaskManage.service;

import com.yuanfengPlus.TaskManage.model.TodoTask;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ITaskService {
    //启动任务
    int startTask(TodoTask todoTask);
    //查询任务
    List<TodoTask> queryTask(String username);
    //完成任务
    int completeTask(String taskId,String userOperation);
}
